package development.bean;

public class ChatInfoArray {
  public ChatInfo[] array;
  private int size;
  
  public static ChatInfoArray create(int len) {
    ChatInfo[] value1 = new ChatInfo[len];
    return new ChatInfoArray(value1, len);
  }
  
  public static void arraycopy(ChatInfoArray src, int srcPos, ChatInfoArray dest, int destPos, int length1) {
    System.arraycopy(src.array, srcPos, dest.array, destPos, length1);
  }
  
  public ChatInfoArray(ChatInfo[] value1, int length1) {
    array = value1;
    size = length1;
  }
  
  public int len() {
    return size;
  }
  
  public ChatInfo get(int i) {
    return array[i];
  }
  
  public void set(int i, ChatInfo obj) {
    array[i] = obj;
  }
  
  public void setArray(ChatInfo[] value1, int length1) {
    array = value1;
    size = length1;
  }
}
